function my_plotHoughSpaces( B, hSpaces, circleSizes )
%MY_EDGEDETECTION
% Consumes original Image, hough transformed image array (transformed
% according to circle sizes) and the circle sizes and plotts the images


%required space for images
sA = size(circleSizes+1);
%temporary variables for squared plotting
sXY = sqrt(sA);
sY = round(sXY); sX = ceil(sXY);

figure; 
%plot original image
subplot(sY,sX,1); imshow(B);

%plot each hough tranformed image
for i=2:sA
    subplot(sY,sX,i); title('circle size: '+ i); 
    imshow(hSpaces(i), [], 'XData', t, 'YData', r ); title
    axis on, axis normal, hold on; 
    colormap(jet);
end


end
